﻿using AutoMapper;
using D.IdentityDbStore.Entities;

namespace D.IdentityDbStore.Mappers
{
    public class ApiScopeProfile : Profile
    {
        public ApiScopeProfile()
        {
            CreateMap<ApiScope, IdentityServer4.Models.ApiScope>(MemberList.Destination)
                .ConstructUsing(src => new IdentityServer4.Models.ApiScope())
                .ReverseMap();
        }
    }
}
